package cn.sciento.message.domain.repository;

import cn.sciento.mybatis.base.BaseRepository;

import cn.sciento.core.domain.Page;
import io.choerodon.mybatis.pagehelper.domain.PageRequest;

import cn.sciento.message.domain.entity.ReceiverTypeLine;
import cn.sciento.message.domain.entity.Unit;
import cn.sciento.message.domain.entity.UserGroup;

/**
 * 接收者类型行服务接口
 *

 * @date 2019-06-12 09:03:01
 */
public interface ReceiverTypeLineRepository extends BaseRepository<ReceiverTypeLine> {

	Page<ReceiverTypeLine> listReceiveTypeLine(PageRequest pageRequest, Long receiverTypeId);

	Page<UserGroup> listUserGroups(PageRequest pageRequest, long receiverTypeId, String groupName, String groupCode);

	Page<Unit> listUnits(PageRequest pageRequest, long receiverTypeId, String unitName, String unitCode);
}

